package cloud.maque.module.system.service;

import cloud.maque.common.core.request.PageRequest;
import cloud.maque.module.system.entity.SysPrivilege;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface PrivilegeService extends IService<SysPrivilege> {
    IPage<SysPrivilege> GetList(PageRequest<SysPrivilege> pageReq);

    SysPrivilege SavePrivilege(SysPrivilege data);

    Boolean DeletePrivilege(String privilegeId);
}
